Determining quality metrics utilized in building a reference database

ABSTRACT

In one embodiment, a technique is provided for building a reference database used to estimate a position of a wireless local area network (WLAN) enabled device. Samples are obtained for WLAN access points, the samples for each WLAN access point being based on WLAN signals transmitted by the WLAN access point and received by one or more scanning devices. Software of a WLAN positioning system executing on one or more computing devices estimates a position of each WLAN access point based on the samples of the WLAN access point. The software also estimates a geographical area covered by the samples of each WLAN access point and determines a quality metric of each WLAN access point based on the estimated geographical area covered by the samples of the WLAN access point. The software then builds the reference database based on the estimated position and quality metric of each WLAN access point.

CROSS-REFERENCE TO RELATED APPLICATIONS

This application is a continuation of and claims priority under 35 U.S.C. §120 to U.S. patent application Ser. No. 12/404,664, filed on Mar. 16, 2009 entitled Calculation of Quality of WLAN Access Point Characterization for Use in a WLAN Positioning System, which is a continuation of U.S. patent application Ser. No. 11/430,224, filed on May 8, 2006, now issued as U.S. Pat. No. 7,551,579, entitled Calculation of Quality of WLAN Access Point Characterization for Use in a WLAN Positioning System, the entire contents of both of which are incorporated herein by reference.

This application is related to the following patent applications:

U.S. patent application Ser. No. 11/430,079, filed May 8, 2006, entitled “Estimation Of Speed and Direction of Travel In A WLAN Positioning System”;

U.S. patent application Ser. No. 11/429,862, filed May 8, 2006, entitled “Estimation of Speed of Travel Using the Dynamic Signal Strength Variation of Multiple WLAN Access Points”;

U.S. patent application Ser. No. 11/430,064, filed May 8, 2006, entitled “Estimation of Speed and Direction of Travel In A WLAN Location Based Service Using Multiple Position Estimations”; and

U.S. patent application Ser. No. 11/430,222, filed May 8, 2006, entitled “Estimation of Position Using WLAN Access Point Radio Propagation Characteristics in a WLAN Positioning System”, the contents of which are hereby incorporated by reference.

BACKGROUND

1. Field of the Invention

The invention generally relates to positioning systems and, more specifically, to methods and systems of classifying WLAN access points in a WLAN positioning system. The invention further relates to calculating the quality of estimation of characteristics of the WLAN access points and scaling a reference database accordingly.

2. Discussion of Related Art

Position determination is the main component of navigation systems and any Location Based Services (LBS). Proliferation of WLAN access points in recent years created a blanket of WLAN radio waves everywhere. Therefore, almost in any place, there is a great possibility of detecting WLAN radio waves, especially in urban areas. The exponential growth of WLAN, and the fact that they can be found almost everywhere, initiated an idea of leveraging them for a metropolitan positioning system for indoor and outdoor areas. In a metropolitan WLAN positioning system, location of WLAN access points are used as reference points, and the Received Signal Strength (RSS) of a WLAN access point is used as an indicator of a distance of an end user from the WLAN access points that the user detects at any time. By knowing the distance of the end user from WLAN access points, location of the end user can be determined. Translating receiver Receive Signal Strength to distance relies on assuming a specific radio channel model. Ideally, if the radio channel model was exactly known, the exact distance of the end user to WLAN access points could be found.

Outdoor and indoor WLAN based positioning systems have been explored by couple of research labs, but none of them included speed and bearing estimation in their system. The most important research efforts in this area have been conducted by PlaceLab (www.placelab.com, a project sponsored by Microsoft and Intel), University of California San Diego ActiveCampus project (ActiveCampus-Sustaining Educational Communities through Mobile Technology, technical report #CS2002-0714), and the MIT campus wide location system, and it was evaluated through several small projects at Dartmouth college (e.g., M. Kim, J. J. Fielding, and D. Kotz, “Risks of using AP locations discovered through war driving”).

There have been a number of commercial offerings of Wi-Fi location systems targeted at indoor positioning. (See, e.g., Kavitha Muthukrishnan, Maria Lijding, Paul Havinga, Towards Smart Surroundings: Enabling Techniques and Technologies for Localization, Proceedings of the International Workshop on Location and Context-Awareness (LoCA 2005) at Pervasive 2005, May 2005, and Hazas, M., Scott, J., Krumm, J.: Location-Aware Computing Comes of Age. IEEE Computer, 37(2):95-97, Feb 2004 005, Pa005, Pages 350-362.) These systems are designed to address asset and people tracking within a controlled environment like a corporate campus, a hospital facility or a shipping yard. The classic example is having a system that can monitor the exact location of the crash cart within the hospital so that when there is a cardiac arrest the hospital staff doesn't waste time locating the device. The accuracy requirements for these use cases are very demanding typically calling for 1-3 meter accuracy.

These systems use a variety of techniques to fine tune their accuracy including conducting detailed site surveys of every square foot of the campus to measure radio signal propagation. They also require a constant network connection so that the access point and the client radio can exchange synchronization information similar to how A-GPS works. While these systems are becoming more reliable for indoor use cases, they are ineffective in any wide-area deployment. It is impossible to conduct the kind of detailed site survey required across an entire city and there is no way to rely on a constant communication channel with 802.11 access points across an entire metropolitan area to the extent required by these systems. Most importantly outdoor radio propagation is fundamentally different than indoor radio propagation rendering these indoor positioning algorithms almost useless in a wide-area scenario. The required accuracy of indoor WLAN based positioning systems, makes it hard to use radio channel modeling and it is considered as a research topic in that domain. In addition, none of the WLAN based positioning systems to date have distinguished between access points, and current methods treat all WLAN access points the same.

FIG. 1 depicts a Wi-Fi positioning system (WPS). The positioning system includes positioning software [103] that resides on a computing device [101]. Throughout a particular coverage area there are fixed wireless access points [102] that broadcast information using control/common channel broadcast signals. The client device monitors the broadcast signal or requests its transmission via a probe request. Each access point contains a unique hardware identifier known as a MAC address. The client positioning software receives signal beacons from the 802.11 access points in range and calculates the geographic location of the computing device using characteristics from the signal beacons. Those characteristics include the unique identifier of the 802.11 access point, known as the MAC address, and the strengths of the signal reaching the client device. The client software compares the observed 802.11 access points with those in its reference database [104] of access points, which may or may not reside on the device as well. The reference database contains the calculated geographic locations and power profile of all the access points the gathering system has collected. The power profile may be generated from a collection of readings that represent the power of the signal from various locations. Using these known locations, the client software calculates the relative position of the user device [101] and determines its geographic coordinates in the form of latitude and longitude readings. Those readings are then fed to location-based applications such as friend finders, local search web sites, fleet management systems and E911 services.

SUMMARY

The invention provides methods and systems for classifying WLAN access points according to the quality of estimation of characteristics of the WLAN access points. The classifications may be used to scale a reference database and quantify an expected error of estimation of the characteristics of the WLAN access points. Under one aspect of the invention, WLAN access points are classified based on their impact on a user's position, speed of travel, and direction of travel estimation accuracy in a WLAN positioning system.

Under another aspect of the invention, a positioning system has a plurality of Wi-Fi access points in a target area. A method for determining a quality of estimation of characteristics of a Wi-Fi access point comprises a Wi-Fi enabled scanning device receiving and measuring a number of received signal strength (RSS) samples of the a Wi-Fi signal transmitted by the Wi-Fi access point. A total distance traveled by the Wi-Fi enabled scanning device while measuring the number of RSS samples is estimated. The quality of estimation of characteristics of the Wi-Fi access point is estimated using the total distance traveled by the Wi-Fi enabled scanning device.

Under another aspect of the invention, the characteristics of the Wi-Fi access point include at least one of geographic location of the Wi-Fi access point and radio propagation characteristics of the Wi-Fi access point.

Under another aspect of the invention, a positioning system has a plurality of Wi-Fi access points in a target area. A method for determining a quality of estimation of characteristics of a Wi-Fi access point comprises a Wi-Fi enabled scanning device receiving and measuring a number of received signal strength (RSS) samples of the Wi-Fi signal transmitted by the Wi-Fi access point. A corresponding speed of travel of the Wi-Fi enabled scanning device is associated with each RSS sample. A corresponding period of time of scanning is associated with each RSS sample. A confidence factor is determined using the sum of each of the speeds of travel of the Wi-Fi enabled scanning device weighted by the corresponding period of time of scanning for each RSS sample. The quality of estimation is determined using the confidence factor.

Under another aspect of the invention, a positioning system has a plurality of Wi-Fi access points in a target area. A method for determining a quality of estimation of characteristics of a Wi-Fi access point comprises a Wi-Fi enabled scanning device receiving and measuring a number of received signal strength (RSS) samples of the Wi-Fi signal transmitted by the Wi-Fi access point. A corresponding speed of travel of the Wi-Fi enabled scanning device is associated with each RSS sample. A corresponding period of time of scanning is associated with each RSS sample. A confidence factor is determined using the number of RSS samples and the speeds of travel of the Wi-Fi enabled scanning device weighted by the corresponding period of time of scanning for each RSS sample. The quality of estimation is determined using the confidence factor.

Under another aspect of the invention, a method for estimating the position of a Wi-Fi enabled device comprises identifying Wi-Fi access points within range of the Wi-Fi enabled device. Calculated locations and quality of estimation values corresponding to the identified Wi-Fi access points are retrieved from a reference database. The position of the Wi-Fi enabled device is estimated using the calculated locations and quality of estimation values.

Under another aspect of the invention, at least one quality of estimation value corresponding to a Wi-Fi access points determines a weight assigned to a calculated location of the corresponding Wi-Fi access point for use in estimating the position of the Wi-Fi enabled device.

Under another aspect of the invention, a calculated location corresponding to a Wi-Fi access points is not used in estimating the position of the Wi-Fi enabled device if a quality of estimation value corresponding to the Wi-Fi access point is below a threshold.

BRIEF DESCRIPTION OF DRAWINGS

In the drawings,

FIG. 1 depicts certain embodiments of a Wi-Fi positioning system;

FIG. 2 depicts an example of an access point with a relatively small number of RSS samples;

FIG. 3 depicts an example of an access point with a relatively large number of RSS samples; and

FIG. 4 depicts an example of the impact of total distance of travel of a Wi-Fi enabled scanning device on quality of estimation of WLAN access point characteristics.

DETAILED DESCRIPTION

Embodiments of the invention provide methods and systems to define a quality metric for each WLAN access point (AP) in a WLAN based positioning system. The quality metric of a WLAN access point may be used as an indicator of the expected error of estimation of position, speed of travel, and direction of travel of a user based on that WLAN access point. Quantifying expected error of estimation based on a given WLAN access point can be used to increase the accuracy of overall estimation by giving more weight to more reliable WLAN access points, and it can also be used to quantify expected error of the final estimation of position, speed of travel and direction of travel by considering the quality of an aggregate of the WLAN access points in range.

Embodiments of the present invention build on techniques, systems and methods disclosed in earlier filed applications, including but not limited to U.S. patent application Ser. No. 11/261,848, entitled Location Beacon Database, U.S. patent application Ser. No. 11/261, 898, entitled Server for Updating Location Beacon Database, U.S. patent application Ser. No. 11/261,987, entitled Method and System for Building a Location Beacon Database, and U.S. patent application Ser. No. 11/261,988, entitled Location-Based Services that Choose Location Algorithms Based on Number of Detected Access Points Within Range of User Device, all filed on Oct. 28, 2005, the contents of which are hereby incorporated by reference in its entirety. Those applications taught specific ways to gather high quality location data for Wi-Fi access points so that such data may be used in location based services to determine the geographic position of a Wi-Fi-enabled device utilizing such services and techniques of using said location data to estimate the position of a system user. The present techniques, however, are not limited to systems and methods disclosed in the incorporated patent applications. Thus, while reference to such systems and applications may be helpful, it is not believed necessary to understand the present embodiments or inventions.

Because the location of users in a WLAN positioning system are calculated with reference to the location of public and private WLAN access points, any inaccuracy in associated parameters of an access point (AP), for example the geographic location of access point, directly impacts the accuracy of position estimation of the users. Aspects of this invention include a systematic method to classify or quantify the quality of WLAN access points. Also, aspects of the invention can be used to scale a reference database of WLAN access points. Embodiments can be used to quantify the expected error of results of calculations using a given WLAN access point. WLAN access points may then be classified based on their level of accuracy. The knowledge of the accuracy level of the WLAN characteristics can be used, for example, in estimation equations to increase the accuracy of the estimation by using only relatively high quality access points or weighting access points based on their quality.

Characteristics of a WLAN access point, such as its geographic location or radio propagation characteristics, may be estimated by using a Wi-Fi enabled scanning device to collect Received Signal Strength (RSS) samples occurring at corresponding positions. For example, the techniques disclosed in the applications incorporated above may be used.

The total number of samples collected by the scanning device when collecting RSS samples for a given WLAN access point may be used to calculate the expected error of estimation of characteristics for that WLAN access point. The samples are weighted according to the speed of the scanning device when collecting RSS samples. The number of RSS samples weighted according to the speed of the scanning device at the time of RSS sampling may be used as a surrogate for the ratio of the number of samples to the coverage area of the an access point.

FIG. 2 depicts an example of a WLAN access point [201] having a relatively low quality of characterization because the number of RSS samples [202] is relatively low. In contrast, FIG. 3 depicts an example of a WLAN access point [301] having a relatively high quality of characterization because the number of RSS samples [302] is relatively high, resulting in relatively high accuracy of estimation of WLAN access point characteristics.

FIG. 4 depicts the impact of the speed of the scanning device on the total distance traveled by the scanning device while collecting RSS samples, in which two WLAN access points [401] and [403] with equal numbers of RSS samples [402] and [404] are presented. During the collection of the RSS samples [404] for WLAN access point [403], the scanning device was traveling at a higher speed than when the scanning device was collecting RSS samples [402] for WLAN access point [401]. Where the RSS samples [402] and RSS samples were collected over the same amount of time, the RSS samples [404] cover a greater total distance than the RSS samples [402]. Thus, the RSS samples [404] are a better indicator of the characteristics, for example the power profile, of the WLAN access point [403] as compared to WLAN access point [401].

Under other embodiments of the invention, the quality of estimation of characteristics of a WLAN access point is quantified. A WLAN access point's geographic location and its radio propagation characteristics are estimated based on the RSS samples in its coverage area. The number of RSS samples which are used for estimation of characteristics of an WLAN access point directly impacts the accuracy of estimation. If the number of RSS samples of a WLAN access point is relatively low, the error of estimation of geographic location of the WLAN access point and estimation of its radio propagation characteristics is relatively high. Therefore, WLAN access points with relatively small numbers of RSS samples can be considered to have relatively low reliability when used in a WLAN based positioning system. On the other hand, WLAN access points with relatively high numbers of RSS samples can be considered relatively high reliability WLAN access points. Under one example embodiment, the number of RSS samples can be used to quantify the expected accuracy of position estimation based on the WLAN access points. Since the expected accuracy of position estimation of different WLAN access points is different, the estimation based on them can also be weighted according to their expected error.

In the process of scanning, the speed of the scanning device is not constant. The scanning device might stop for a while or it might move fast along highways. As a result, the same number of RSS samples may cover different geographical areas, as explained in connection with FIG. 4 above. The geographical area that a given number of RSS samples covers is the speed of the scanning device times the period of scanning. Therefore, assuming a constant scanning period, the value of the absolute number of samples is weighted according to the speed of scanning device at time of scanning. The speed of the scanning device at the time of RSS sampling can be collected, for example, from a OPS or it can be derived from OPS position over time. The OPS velocity estimation is very accurate because it is based on Doppler frequency of measurement of the OPS received signal, but velocity calculation based on OPS position over time is a rough estimate of the velocity.

If the estimation of the speed of the scanning device at the time of scanning is known and the total number of scanned RSS samples is denoted by N, a confidence factor, denoted by CFn, is calculated as follows:

${CFn} = {\sum\limits_{i = 1}^{N}\; {f\left( {V_{i}T_{i}} \right)}}$

in which V_(i) is the speed of the scanning device and T_(i) is the period of scanning at the time of taking RSS sample i, where O<i<N. The period of scanning is a constant value almost all the time.

The value of the period of scanning, when it is constant, is shown with T₀. The function f(V_(i)T_(i)) is a nonlinear function and generally it is as follows: For RSS samples which are taken while the scanning device is moving, the V_(i)T_(i) is considered as the weight of samples. For RSS samples which are taken while the scanning device is stationary, all the readings with the same location and the same power reading are considered once. For example, if the scanning device collects RSS power samples while not moving for a given period of time, T_(p), and power reading from an access point was the same for the entire period T_(p), only one RSS sample from this access point for the period T_(p) is considered. Finally, RSS samples taken while the scanning device is stationary are considered with a correction factor K. The correction factor K can be calculated based on the average acceleration of the scanning device from zero speed, α₀. Therefore, K=α₀T₀ ².

After removing RSS samples with the same location and power reading (samples taken while the scanning device is stationary) N samples remain. Of the total number of samples N₁ if N₁ RSS samples are taken while the scanning device is stationary, and if N₂ RSS samples are taken while the scanning device is moving, the confidence factor can be written as follows:

${CFn} = {{KN}_{1} + {\sum\limits_{i = 1}^{N_{2}}\; {V_{i}T_{i}}}}$

One example of a confidence factor calculation having this form is as follows, if scanning period is set to one second:

${CFn} = {{2N_{1}} + {\sum\limits_{i = 1}^{N_{2}}\; V_{i}}}$

The value of CFn calculated above is an indicator of the reliability of the estimation of characteristics of a WLAN access point. Interpretation of the CFn value is as follows. As stated above, a relatively small number of RSS samples will translate to almost no reliability of estimation, i.e., one or two samples are not enough for a reliable estimate. Increasing the number of RSS samples has an exponential effect on accuracy. In other words, one RSS sample difference at a low number of samples has a greater impact on accuracy than one RSS sample at a high number of samples. On the other hand, when the number of RSS samples is relatively high, the quality of estimation based on them is high. Further increasing the number of RSS samples does not have a noticeable impact on the accuracy of estimation of characteristics, such as geographic location and radio propagation characteristics, of a WLAN access point. Therefore, as part of a WLAN access point reliability calculation, there will be two thresholds: CF_(min) is a minimum number of samples, on average, that are needed to determine a relatively reliable WLAN access point characteristic estimation. If the number of RSS samples is below this threshold, the estimation is considered unreliable. CF_(max) is a threshold beyond which adding extra RSS samples does not have a significant impact on the accuracy of the estimations.

Since the relationship between confidence factor, CFn, and a reliability measure, R, of WLAN access point characteristics is logarithmic, the reliability is calculated as follows:

$R = {{\left( {R_{\max} - R_{\min}} \right)\frac{\left\lbrack {{\log \left( {CF}_{n} \right)} - {\log \left( {CF}_{\min} \right)}} \right\rbrack}{\left\lbrack {{\log \left( {CF}_{\max} \right)} - {\log \left( {CF}_{\min} \right)}} \right\rbrack}} + R_{\min}}$

The maximum reliability can be set to one, and the minimum reliability can be set to a very small number. For example,

-   -   R_(min)=0.001,     -   R_(max)=1.

The values of CFmin and CFmax can be found empirically. Useful values for a general metropolitan WLAN based positioning system are as follows:

-   -   CF_(min)=36,     -   CF_(max)=68.

According to embodiments of the invention, the reference database [104] can be scaled according to the classifications of the WLAN access points, the quantification of expected error of access point parameters, or quality of associated WLAN access point data. For example, WLAN access points having a classification or quality measure below a desired threshold may be withheld from the reference database [104]. This ensures that only access points having a relatively high quality of parameter estimation are used by user device [101] in determining a user's position, speed of travel, or direction of travel. In other embodiments, all WLAN access points may be included in reference database [104], but the positioning software [103] may not use access points having a classification or quality measure below a desired threshold.

According to an embodiment of the invention, another example of scaling the reference database [104] includes finding a reliability factor for each WLAN access point in the positioning system, and logged it in reference database [104]. In a WLAN based positioning system, the user has access to the reference database [104] and uses the WLAN access points in range to estimate its position, speed of travel, and direction of travel. The reliability factor of each WLAN access point in the reference database [104] is used to weight the estimation results of the WLAN access points in range of the user. The use of the reliability factors is independent of the positioning algorithm, which is used to estimate the user's attributes, e.g., position, speed of travel, and direction of travel. If estimation in the most general form can be written as an operation 0 on function ƒ over WLAN access points AP_(N) in range, O(ƒ(AP₁), . . . , ƒ(AP_(N))), the reliability factor is applied to the estimation as follows:

-   -   O(R₁ƒ(AP₁), . . . , R_(N)ƒ(AP_(N)))

Where N is the total number of access points in range of the user.

WLAN access points with different reliability factors or quality metrics can be combined in different methods. For example, all WLAN access points can be used to estimate the position of a user, but each WLAN access point is weighted according to its reliability factor. One example is multiplying the estimation results of each WLAN access point by its reliability, and then combining all results to get the final estimation result. Another example is to use only the relatively high quality WLAN access points. In this case, WLAN access points are classified based on their reliability. After detecting all WLAN access points in range, the method starts the estimation process with the WLAN access points in the highest reliability class. Based on the number of WLAN access points in the highest class, a decision is made to either include or exclude WLAN access points in the lower classes. Deciding which of these two example methods to use depends on the use case, as does the decision to include or exclude lower class WLAN access points.

Another dimension that can be added to the CFn calculation is the accuracy of the location of RSS samples. The location of RSS samples may be determined, for example, by a OPS attached to the scanning device. A OPS reports expected Position Error (PE) indicators. The expected Position Error of the OPS location estimations can be used to weight RSS samples as well. Higher weight is given to RSS samples with smaller expected PE values.

It will be appreciated that the scope of the present invention is not limited to the above-described embodiments, but rather is defined by the appended claims, and these claims will encompass modifications of and improvements to what has been described. 

What is claimed is:
 1. A method of building a reference database used to estimate a position of a wireless local area network (WLAN) enabled device, the method comprising: obtaining samples for WLAN access points, the samples for each WLAN access point based on WLAN signals transmitted by the WLAN access point and received by one or more scanning devices; estimating, by software of a WLAN positioning system executing on one or more computing devices, a position of each WLAN access point based on the samples of the WLAN access point; estimating, by the software of a WLAN positioning system, a geographical area covered by the samples of each WLAN access point; determining, by the software of the WLAN positioning system, a quality metric of each WLAN access point based on the estimated geographical area covered by the samples of the WLAN access point; and building, by the software of the WLAN positioning system, a reference database based on the estimated position and quality metric of each WLAN access point, the reference database used to estimate the position of the WLAN enabled device.
 2. The method of claim 1, wherein the estimating the geographical area covered by the samples is based on a number of the samples and estimated speeds of the one or more scanning devices.
 3. The method of claim 2, wherein the estimating the geographical area covered by the samples further comprises: weighting a sample collected by a scanning device that is moving according to an estimated speed of the scanning device, the weighting to assign a greater weight to the sample if collected at a higher speed than to the sample if collected at a lower speed.
 4. The method of claim 2, wherein the estimating the geographical area covered by the samples further comprises: eliminating duplicative samples collected by a scanning device that is stationary.
 5. The method of claim 1, wherein the building the reference database further comprises: withholding any WLAN access points from the reference database whose quality metric does not meet a threshold.
 6. The method of claim 1, wherein the building the reference database further comprises: storing the estimated position and quality metric of each WLAN access point in the reference database.
 7. The method of claim 6, further comprising: determining a plurality of WLAN access points within range of the WLAN enabled device based on signals received by the WLAN enabled device; retrieving from the reference database the estimated position and quality metric of the WLAN access points within range of the WLAN enabled device; and estimating, by software of the WLAN positioning system, the position of the WLAN enabled device based on the estimated position and quality metric of the WLAN access points within range of the WLAN enabled device, wherein a WLAN access point's effect on the estimated positon is weighted according to the WLAN access point's quality metric.
 8. The method of claim 6, further comprising: determining a plurality of WLAN access points within range of the WLAN enabled device based on signals received by the WLAN enabled device; retrieving from the reference database the estimated position and quality metric of the WLAN access points within range of the WLAN enabled device; excluding at least one of the WLAN access points within range of the WLAN enabled device having a quality metric that does not meet a threshold; and estimating, by software of the WLAN positioning system, the position of the WLAN enabled device based on the estimated position of at least one remaining WLAN access point of the WLAN access points within range of the WLAN enabled device.
 9. The method of claim 1, wherein the samples are received signal strength (RSS) samples.
 10. The method of claim 1, wherein the scanning device and the WLAN enabled device are different devices.
 11. A non-transitory computer readable medium having software stored thereon, the software when executed operable to: obtain samples for wireless local area network (WLAN) access points, the samples for each WLAN access point based on WLAN signals transmitted by the WLAN access point; estimate a position of each WLAN access point based on the samples of the WLAN access point; estimate a geographical area covered by the samples of each WLAN access point; determine a quality metric of each WLAN access point based on the estimated geographical area covered by the samples of the WLAN access point; and build a reference database based on the estimated position and quality metric of each WLAN access point, the reference database used to estimate the position of a WLAN enabled device.
 12. The non-transitory computer readable medium of claim 11, wherein the estimate of the geographical area covered by the samples is based on a number of the samples and one or more estimated speeds of one or more scanning devices that received the WLAN signals transmitted by the WLAN access point.
 13. The non-transitory computer readable medium of claim 12, wherein the software when executed is further operable to: weight a sample collected by a scanning device that is moving according to an estimated speed of the scanning device.
 14. The non-transitory computer readable medium of claim 12, wherein the software when executed is further operable to: eliminate duplicative samples collected by a scanning device that is stationary.
 15. The non-transitory computer readable medium of claim 12, wherein the software when executed is further operable to: withhold any WLAN access points from the reference database whose quality metric does not meet a threshold.
 16. The non-transitory computer readable medium of claim 12, wherein the software when executed is further operable to: store the estimated position and quality metric of each WLAN access point in the reference database.
 17. The non-transitory computer readable medium of claim 11, wherein the samples are received signal strength (RSS) samples.
 18. A system for estimating positions of a wireless local area network (WLAN) enabled device, comprising: a reference database maintained by one or more computing devices that includes an estimated position and quality metric of each a plurality WLAN access points, the estimated position of each WLAN access point based on WLAN signals transmitted by the WLAN access point, the quality metric of each WLAN access point based, at least in part, upon an estimated geographical area covered by the samples of the WLAN access point; and the WLAN enabled device configured to executed a client-side portion of software of a WLAN positioning system, the client-side portion when executed to: determine a plurality of WLAN access points within range of the WLAN enabled device based on signals received by the WLAN enabled device, retrieve from the reference database the estimated position and quality metric of the WLAN access points within range of the WLAN enabled device, and estimate the position of the WLAN enabled device based on the estimated position and quality metric of at least one of the WLAN access points within range of the WLAN enabled device, wherein a WLAN access point's effect on the estimated positon of the WLAN enabled device is weighted according to the WLAN access point's quality metric or a WLAN access point is excluded from use in estimating the estimated positon of the WLAN enabled device in response to the WLAN access point's quality metric.
 19. The system of claim 18, further comprising: one or more scanning devices configured to receive the WLAN signals transmitted by each WLAN access point
 20. The system of claim 19, wherein the geographical area covered by the samples is based on a number of the samples and one or more estimated speeds of the one or more scanning devices. 